package top.ljlgithub.api.service;

import top.ljlgithub.api.bean.Manager;

/**
 * @ClassName
 * @Description TODO
 * @Author L1470
 * @Date 2021/4/25 18:00
 * @Version 1.0
 **/
public interface ManagerService {
    void register(Manager manager);
    Manager login(String username,String password);
    void addUser(Manager manager);
    void updateUser(int uId,boolean type);
    Manager findUserById(int id);
    void deleteUserById(int id);
    void updateUserRole(int id,int rid);
    Manager updateUserInfo(Manager manager);
}
